﻿using Common.Communal;
using MediatR;

namespace System.Api.Write.Applications.Commands.Roles
{
    /// <summary>
    /// 角色更新命令
    /// </summary>
    public class RoleUpdateCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 角色编号（唯一标识）
        /// </summary>
        public string RoleNo { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        public string RoleDescription { get; set; }
    }
}
